package com.example.repository;

// elasticsearch-module/src/main/java/com/example/elasticsearch/repository/BaseEsRepository.java

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;


public interface BaseEsRepository<T> extends ElasticsearchRepository<T, String> {
    // 通用查询方法
//    List<T> findByType(String type);
//    List<T> findByDepartmentAndExpenseDateBetween(String department, LocalDate start, LocalDate end);
//    List<T> findByAmountBetween(BigDecimal min, BigDecimal max);
}
